<!DOCTYPE HTML>
<html>
<script>
function success() {
    console.log("Script loaded successfully.");
}

function scriptFail() {
    console.log("Script failed to load.");
}
</script>

<script onerror='scriptFail();' integrity='sha256-B0/62fJSJFrdjEFR9ba04m/D+LHQ+zG6PGcaR0Trpxg=' src='call-success.js'></script>
</html>
